Skip to content

feat(comfy): Generate with Comfy sends layers to ComfyUI and brings the results back as footage, and menus keep under the bar (0.61.0) - #22

Merged
nodemode-ai merged 9 commits into
mainfrom
feat/comfyui-0.61.0
Nov 30, 2026
Merged

nodemode-ai merged 9 commits into
mainfrom
feat/comfyui-0.61.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

feat(comfy): Generate with Comfy sends layers to ComfyUI and brings the results back as footage, and menus keep under the bar (0.61.0)

Summary

  • Generate with Comfy panel (Window menu):
    • It keeps the ComfyUI address and shows whether the FormBridge pack is installed.
    • It lists the pack's workflows, with what each one still needs (missing node packs and model files, and where each file goes).
    • It runs a workflow on the selected layer over the work area.
    • It shows progress and a preview, with Retry (new seed) and Cancel.
  • The engine:
    • It renders the source range as a plate. When a footage layer is untouched by trims, stretch or effects, it sends the footage file itself instead.
    • It uploads stills at frames 0, 8, 16 and so on for keyframe workflows.
    • A mask slot takes the second selected layer.
  • Landing: results land as footage layers above the source, at the first frame sent. A matte becomes a luma track matte. Everything lands in one undo step, and the source layer is never changed.
  • Agents: comfy_status, comfy_workflows and comfy_job (read-only), and comfy_run (asks first). They use the saved address only, never an address or a file path from the agent.
  • Review fixes:
    • server-supplied names can no longer leave the result folder;
    • the stdlib websocket reader keeps its place across timeouts and has size limits;
    • uploads stream from disk;
    • inputs match each slot's kind and the server's limits.
  • Menu fix (FORM-MENU-OVERLAP-FIX 1.2.0, ported from FormVis 2.8.3 and 2.8.4):
    • Bar menus: both bar call sites (the app's own menus and the engine menus) open under their button through a new openUnder, with an inline cap of min(75% of the window, room below) set before measuring.
    • Right-click menus: every menu opened through contextMenu() (viewer, timeline, project, effect controls, flowchart, templates, dock and tool group) keeps its pointer placement and flip. Its top is never above the bar.
    • Submenus take the root menu's floor and cap.
    • Hint: the rows sit in their own scrolling list inside the glass card, so the bottom rows fade into the glass and the 56 by 12 pill shows while rows remain below.
    • Keyboard: Home and End are handled, because the card no longer scrolls.
    • Untouched: the dock module and the macOS system menu.

Commits

Oldest first, release commit last. The short hashes change when the commits are signed, so they are left out.

  • feat(comfy): the engine sends layers to ComfyUI through the FormBridge pack and brings results back as footage above them
  • feat(interface): a Generate with Comfy panel picks a workflow, shows what it needs, runs it on the selected layer and follows it to the result
  • feat(agents): agents check the saved ComfyUI server, list its workflows, follow jobs and ask before running one
  • docs: Generate with Comfy in the manual, the wiki, the readme and the living logs, with its words in 23 languages
  • fix(comfy): keyframes, masks and media slots get the right sources, server names never leave the result folder, and the websocket reader keeps its place
  • fix(interface): the Comfy panel is in the Window menu, shows landing errors, takes the mask from the second selected layer and translates its messages
  • docs: the Comfy panel's menu, mask and keyframe sources, and translations for its run-time messages
  • fix(menus): menus never cover the menu bar, stay within three quarters of the window and show a hint while more rows are below
  • chore(release): 0.61.0

Version

v0.61.0, with the release commit last.

  • Version sites: README (badge and Under the hood), backend/app/__init__.py, docs/EXTENSIONS.md, frontend/package.json, the lockfile (twice) and frontend/src/version.ts.
  • Native and desktop: native/fvx-core Cargo.toml, Cargo.lock and pyproject.toml, plus src-tauri Cargo.toml, Cargo.lock and tauri.conf.json.
  • Demos: the three demos, rebuilt at 0.61.0 on top of main with chore: shared Windows agent launcher and full third-party licence notices #21.
  • Changelog: there is no CHANGELOG.md, by the owner's decision; the release text comes from the notes file.

Checks

  • Native module: fvx_core built with maturin (dev profile).

  • Engine and frontend:

    • formvfx_engine.py --selfcheck: ok (701 commands, 306 effects).
    • pytest tests: 272 passed on the earlier base. On today's main, the 198 tests that do not use the HTTP test client pass; the other 98 did not start here, because this sandbox's venv lacks the test client's package, so CI is the check for them.
    • test_f4_versions: passed after the bump.
    • npx tsc --noEmit and npm run build: ok.
  • Repo checks: python3 setup/lint_text.py . gives 0 findings, setup/agents.py sync --check is in step, setup/notices.py --check says the third-party notices cover everything that ships, setup/text_presets.py --check is in step, and py_compile setup/*.py is clean.

  • End to end: against a CPU ComfyUI 0.46.0 with the pack, a 9-frame plate from a solid layer ran the self test. It landed as a footage layer above the source in one undo step, and Retry started a new job.

  • Review: a cold review was done, and its must-fixes are fixed.

  • Menu fix, measured in headless Chrome against the real engine (bar bottom at 33.5):

    • Bar menus, 4x CPU throttle: at 1871x1080, 1280x720, 1000x480 and 800x320, every bar menu and the first submenu, sampled every frame: 0 frames above the bar, over 75% or outside the window. End reached the last row each time.
    • View menu, 1871x1080: before top 4 and 1072 tall; after top 38 and 810 tall.
    • Viewer right-click, 1280x800: before top 4 and 653 tall; after top 38 and 600 tall, with the hint.
    • Hint timings, 1871x1080: full opacity from the first frames; at the last row 0.29 at 80 ms and 0 by 374 ms; scrolled up 120 px, 0.62 at 241 ms and 1 by 744 ms.
    • Hint behaviour: End hides it and Home restores it, and the focused row never sat in the fade. A cut-off submenu at 1000x420 shows it.
    • Demos: all three rebuilt and opened from file:// at 1000x480. Each shows 0.61.0, every bar menu sits at top 38, and View shows the hint at 360 px.
  • Matte landing (30 Nov EST), checked through the pack's new formbridge.selftest.matte, a core-nodes-only workflow, on a 9-frame range of a solid:

    • the inverted footage landed with a Luma Matte track matte, and the matte footage landed hidden;
    • both landed above the source at the range start;
    • the source was unchanged;
    • it was one undo entry, and one undo removed both layers and the imported items.

Not run:

  • keyframe and mask workflows, and websocket progress, against a real model run;
  • cargo check of src-tauri;
  • the window smoke test (Playwright's bundled browser is not installed here; the menu checks used the system Chrome);
  • the reduced-motion check of the hint;
  • the UI under 4x CPU and network throttling.

No new tests were written this round, by the owner's decision. The test plan is in the planning sidecar.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash. The branch is built on main at 1128dac (PR #21, which came after 0.60.1 in #20). The two living logs keep main's entries, the shared finder 1.1.0 and the licence texts included, and add this release's after them. The Comfy panel styles sit after #21's in vfx.css, and the README keeps both changes.

…e pack and brings results back as footage above them

New /api/comfy routes keep the server address, report the pack and what each workflow needs, render the chosen layer and frame range as a plate (or send the footage file itself), follow the job and land its files as footage layers at the source's start with the matte as a luma track matte, in one undo step. Retry runs again with a new seed.
…what it needs, runs it on the selected layer and follows it to the result
…ws, follow jobs and ask before running one

comfy_run takes the selected layer and work area unless told otherwise, never an address or a file path, and returns the job at once for comfy_job to follow. A comfy guide topic explains the tools.
… living logs, with its words in 23 languages
…erver names never leave the result folder, and the websocket reader keeps its place

Keyframes go up as stills on multiples of 8. A mask needs its own layer. Inputs match the slot's kind and the server's limits. Uploads stream from disk, the follower stops when no job is open, footage is sent as its file only when untouched by trims or stretch, and results land at the first frame sent.
…errors, takes the mask from the second selected layer and translates its messages
…s of the window and show a hint while more rows are below

Both bar menu sources open under their button, right-click menus keep under the bar and still open at the pointer, and submenus follow. What does not fit scrolls, with a fade and a small pill at the bottom until the last row; Home and End reach the ends. Ported from FormVis 2.8.3 and 2.8.4.
Version sites move to 0.61.0 and the three browser demos are rebuilt, carrying Generate with Comfy's shared code and the menu fix.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 30, 2026 21:19
@nodemode-ai
nodemode-ai merged commit 65fd206 into main Nov 30, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the feat/comfyui-0.61.0 branch November 30, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant